Skip to content

Migrate charts to Swift Charts#704

Open
bjorkert wants to merge 3 commits into
devfrom
swift-charts-migration
Open

Migrate charts to Swift Charts#704
bjorkert wants to merge 3 commits into
devfrom
swift-charts-migration

Conversation

@bjorkert

Copy link
Copy Markdown
Member

Replaces the danielgindi Charts and SwiftAlgorithms CocoaPods with native Swift Charts.

  • Rebuilds the BG graph, treatments, and prediction cone on Swift Charts with a custom pan/zoom/inspect interaction layer.
  • Ports the stats views (AGP, TIR, GRI) off the old Charts dependency.
  • Drops the Charts and SwiftAlgorithms pods and their generated support files.

Chart appearance and behaviour are kept at parity with the previous implementation.

Replaces the danielgindi Charts and SwiftAlgorithms CocoaPods with native
Swift Charts.

- Rebuilds the BG graph, treatments, and prediction cone on Swift Charts
  with a custom pan/zoom/inspect interaction layer.
- Ports the stats views (AGP, TIR, GRI) off the old Charts dependency.
- Drops the Charts and SwiftAlgorithms pods and their generated support files.

Chart appearance and behaviour are kept at parity with the previous
implementation.
bjorkert added 2 commits July 12, 2026 17:00
When the detail selector is dragged across the chart, the pill now lists
every item near the finger — the nearest glucose reading plus any treatments
whose symbols fall within a screen-space capture band — instead of a single
winner chosen by time. Every glucose reading stays inspectable, including
where a bolus, carb entry, or an on-trace treatment (BG check, note, suspend,
resume, sensor start) shares its time.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant